home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / text / hyper / hsc_source.lha / hsc / source / hsclib / include.h < prev    next >
C/C++ Source or Header  |  1996-07-06  |  2KB  |  37 lines

  1. /*
  2.  * hsclib/include.h
  3.  */
  4.  
  5. #ifndef HSCLIB_INCLUDE_H
  6. #define HSCLIB_INCLUDE_H
  7.  
  8. /*
  9.  * flags for include_hsc_xxx()
  10.  */
  11. #define IH_PARSE_END    (1<<0)  /* check for unclosed tags & co at end */
  12. #define IH_PARSE_PRE    (1<<1)  /* parse with replacing "><&" */
  13. #define IH_PARSE_MACRO  (1<<2)  /* include macro */
  14. #define IH_PARSE_HSC    (1<<3)  /* include text of a special
  15.                                  *   hsc-command (eg $insert time) */
  16. #define IH_PARSE_SOURCE (1<<4)  /* include source (replace special chars) */
  17. #define IH_NO_STATUS    (1<<5)  /* oppress status message */
  18. #define IH_UPDATE_PRJ   (1<<6)  /* update project file */
  19. #define IH_POS_PARENT   (1<<7)  /* use position of first file on stack
  20.                                  *   for messages */
  21. #define IH_IS_INCLUDE   (1<<8)  /* included vai <$include>
  22.                                  *   (should be stored in project-file */
  23. #define IH_IS_SOURCE    (1<<9)  /* this is the main source-file
  24.                                  *   (should be stored in project-file */
  25.  
  26. #ifndef NOEXTERN_HSCLIB_INCLUDE_H
  27.  
  28. extern BOOL hsc_include_file(HSCPRC * hp, STRPTR filename, ULONG optn);
  29. extern BOOL hsc_include_string(HSCPRC * hp, STRPTR filename, STRPTR s, ULONG optn);
  30. extern BOOL hsc_base_include_file(HSCPRC * hp, STRPTR filename, ULONG optn, INFILEPOS * base_pos);
  31. extern BOOL hsc_base_include_string(HSCPRC * hp, STRPTR filename, STRPTR s, ULONG optn, INFILEPOS * base_pos);
  32.  
  33. #endif /* NOEXTERN_HSCLIB_INCLUDE_H */
  34.  
  35. #endif /* HSCLIB_INCLUDE_H */
  36.  
  37.